<?php
include_once("../modules/checkA.php");
include_once("../../config.php");
$plate=select_one_line_all_items($table_Prefix."plate","mid = 'finance'");
?>


<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
include_once("detail-list-function.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<!--網站語言--><meta http-equiv="Content-Language" content="zh-cn">
	<!--網站編碼--><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php include '../coresection/title.php'; ?></title>
	<link rel="Shortcut Icon" href="../coresection/logoicon.ico">


</head>

<body style="display:none">


<?php
$new_detail_nid=$_REQUEST['nid'];

//传递过来的页面信息。返回的时候，会根据这些信息返回原来的页面
$nowpageid = addslashes($_REQUEST['nowpageid']);
$sortby    = addslashes($_REQUEST['sortby']);
$term_nid  = addslashes($_REQUEST['term_nid']);
$navitemed  = addslashes($_REQUEST['navitemed']);


?>


<?
//设置需要搜索的表格的前缀后缀
$table_Suffix=$plate['table_Suffix'];
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀

?>



<?php

$sql = " DELETE FROM $table WHERE nid=$new_detail_nid";
$query=mysql_query($sql) or die ('删除数据失败');
mysql_close($con);

?>










<script type="text/javascript">
	//document.location.href = "detail-list.php?nav-itemed=finance";
</script>

</body>